﻿using Core.DataAccess.Model;
using Core.Framework;
using System;
using System.Collections.Generic;

namespace Local.Interface
{
    public interface ICloudFunction
    {
        /// <summary>
        /// 添加一个云函数
        /// </summary>
        MethodResult<int> Add(Action<KeyValuePair<string, string>> action, Function function);

        /// <summary>
        /// 获取函数列表
        /// </summary>
        MethodResult<Pagination> GetFunctionList(Pagination pagination);
    }
}
